<html>
<head>
    <title>申请结果</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
    <!-- weui 样式 -->
    <link rel="stylesheet" href="__STATIC__/dytoutiao/v3/style/weui.min.css"></link>
    <!-- 重写 weui 样式 -->
    <link rel="stylesheet" href="__STATIC__/dytoutiao/v3/style/reset-weui.css"></link>
    <style>
        .page, body{--weui-BTN-DEFAULT-COLOR: #06ae56; --weui-BRAND: #07c160;} 
    </style>
</head>

<body data-weui-theme="light" class="page">
    <div class="result-page">
        <div class="weui-msg result">
            <div class="weui-msg__icon-area">
                <img id="success" style="display: none;" class="result-icon" src="__STATIC__/dytoutiao/v3/images/result/success.png" alt="">
                <img id="fail" style="display: none;" class="result-icon" src="__STATIC__/dytoutiao/v3/images/result/complate.png" alt="">
            </div>
            <div class="weui-msg__text-area">
                <h2 class="weui-msg__title">申请已接收</h2>
                <div class="weui-msg__tips-area">
                    <p class="weui-msg__tips">您的申请已接收，若资质符合，我们将及时联系您，请保持电话通常。</p>
                </div>
            </div>
        </div>
    </div>
</body>
<!-- zepto文件 -->
<script type="text/javascript" src="__STATIC__/dytoutiao/v3/js/zepto.min.js"></script>
<!-- 业务js文件 -->
<script type="text/javascript" src="__STATIC__/dytoutiao/v3/js/sdk.js?t=3"></script>
<script type="text/javascript">
    $(function(){
        const code = QueryParams.code
        // 状态码，200-申请成功；201-申请成功（后台允许重复时，同一天内只要回传1次）；301-重复申请；302-资质不符合要求
        if (code === '200' || code === '201') {
            $('#success').show()
            $('#fail').hide()
        } else if (code === '301' || code === '302' || code === '500'){
            $('#success').hide()
            $('#fail').show()

            $('#failDesc').find('p').hide()
            $('#' + code).show()
        }
    });
</script>
</html>
